import URLRequest = egret.URLRequest;
/**
 * Create by richliu1023
 * @date 2016-06-12
 * @email richliu1023@gmail.com
 * @github https://github.com/RichLiu1023
 * @description a simple explanation
 */
class ConfigManager {
	public static mcf:egret.MovieClipDataFactory;

	public static setup():void {
	}

	public static generateMovieClipData():egret.MovieClipData {
		if ( !this.mcf ) {
			this.mcf = new egret.MovieClipDataFactory( RES.getRes( 'loading_json' ), RES.getRes( 'loading_png' ) );
		}
		return this.mcf.generateMovieClipData( 'loading' );
	}
}